package com.sfhk.service;

import com.sfhk.domain.User;
import com.sfhk.utils.LoginException;

import java.util.List;

public interface UserService {
    void deleteUser(int id);
    void addUser(User user);
    List<User> queryUser();
    User showUserById(int id);
    void update(User user);

    void deleteSelectUser(String[] ids);
    User login(String username,String password) throws LoginException;
    List<User> queryUserByCategory(String cid);
}
